package auto.app.controller.from.menus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "修改角色的菜单入参")
public class updateRuleMenusFrom {
    @ApiModelProperty("角色ID")
    @NotNull(message = "角色ID不能为空")
    private Integer ruleId;

    @ApiModelProperty("菜单ID")
    private List<Integer> menusIdlist;
}
